package com.cqie.secondhandtransaction.DTO;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

@Data
public class ChatInfoDTO {

    private Integer id;

    private String username;

    private String sallerName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("聊天内容")
    private String content;

    @ApiModelProperty("聊天室编号，确保用户和商家的聊天室唯一")
    private String chatCode;

    @ApiModelProperty("发送者类型：USER-用户, SELLER-商家")
    private String senderType;
}
